﻿using Nature.Core.Distributed;
using Shuttle.Core.Infrastructure;
using Shuttle.ESB.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Test.Events;

namespace Test.Domain.EventHandlers
{
    public class TestSubscriber : BaseMessageHandler<TestEvent>
    {

        protected override void Process(EventHandlerContext<TestEvent> context)
        {
            string comment = string.Format("订阅者1 lzq：{0}", context.Message.Message);
            ColoredConsole.WriteLine(ConsoleColor.Blue, comment);
        }
    }
}
